﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using ANOWord = Microsoft.Office.Interop.Word;

namespace HJ_SQL_ToTable
{
    /// <summary>
    ///     约定写文档的操作
    /// </summary>
    interface IWriteDocument
    {
        /// <summary>
        ///     将文档内容写到word中
        /// </summary>
        /// <param name="docu"></param>
        /// <returns></returns>
        bool WriteDocument(ANOWord.Document docu, List<SQLTable> tables);
        bool WriteDocument(ANOWord.Document docu, SQLTable table);
    }
}
